/**
 * Created with IntelliJ IDEA
 * Description 优先级队列 堆 测试
 * User: 王杰
 * Date: 2025-06-06
 * Time: 9:19
 */
public class Test {
    public static void main(String[] args) {
        int[] array = {27,15,19,18,28,34,65,49,25,37};
        TestHeap testHeap = new TestHeap();

        testHeap.initElem(array);

        testHeap.createHeap();

//        testHeap.poll();
        testHeap.heapSort();
    }
}
